package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Announcement implements Serializable {
    //设置主键类型为用户输入
    private Long id; //用户id
    private String title;//标题
    private String description;//描述
    private Date created;//发布时间
    private Date updated;//修改时间
}
